<?php
/**
 * @Author: Xu Liu email:2867557054@qq.com
 * @Date:   2016-12-15 13:31:33
 * @Last Modified by:   Xu Liu
 * @Last Modified time: 2017-07-17 12:29:45
 */
if (!defined('IN_ADMINCP') || !defined('IN_DISCUZ')) {
    exit('Access Denied');
}
class MyongjinContrl
{
    public function index()
    {
        global $_G;
        $currentpage = $_GET['page']?intval($_GET['page']):1;
        $pagesize = 30;
        $counts   = C::t('#jameson_read#jamesonread_yongjin')->count();
        $yongjins = C::t('#jameson_read#jamesonread_yongjin')->fetch_all_bypage($pagesize*($currentpage-1), $pagesize);
        $pageshow = multi($counts,$pagesize,$currentpage,ADMINSCRIPT.'?action=plugins&operation=config&do=' . $_GET['do'] . '&identifier=jameson_read&pmod=jameson_read&contrl=myongjin&act=index');
        include template('jameson_read:myongjin_index');
    }
}